#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Project: spd-sxmcc
"""
@author: lyndon
@time Created on 2019/2/27 14:56
@desc
"""
from flask import Flask

# from com.bratislava.db.dbpool import DbPoolUtil

# from op_mysql import OPMysql
# from op_postgres import OPPostgre
# 创建mysql数据库连接池
# dbpool_util = DbPoolUtil(db_type="mysql")
# opm = OPMysql()
# 创建postgres数据库连接池
# opp = OPPostgre()
print('name:' + __name__)
app = Flask(__name__)
# app.config.from_object('analyzer.conf.settings')


@app.route('/')
def index():
    urls = str(app.url_map)
    return 'Index Page' + urls
